<%@ page import="com.zzuli.dcxt.entiy.Dishes" %><%--
  Created by IntelliJ IDEA.
  User: 14408
  Date: 2022/1/12
  Time: 12:01
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<body>
<%! Dishes dishes=null;%>
<%  dishes=(Dishes) session.getAttribute("updateDishe");%>
<div align="center">

    <form action="/dishes/update.do" method="post" name="form1" >
        <input type="text" hidden="hidden" value="<%=dishes.getId()%>" name="id">
        <table border="1" width="47%" bordercolorlight="#C0C0C0">
            <tr>
                <td height="25" bgcolor="#66CCFF" align="right" width="27%">菜品名称：</td>
                <td height="25" bgcolor="#FFE3BB" width="70%">
                    <input type="text" name="name" size="45" value="<%=dishes.getName()%>"></td>
            </tr>
            <tr>
                <td height="25" bgcolor="#66CCFF" align="right" width="27%">原&nbsp;&nbsp;&nbsp;
                    料：</td>
                <td height="25" bgcolor="#FFE3BB" width="70%">
                    <input type="text" name="material" size="45" value="<%=dishes.getMaterial()%>"></td>
            </tr>
            <tr>
                <td height="25" bgcolor="#66CCFF" align="right" width="27%">单&nbsp;&nbsp;&nbsp;
                    价：</td>
                <td height="25" bgcolor="#FFE3BB" width="70%">
                    <input type="text" name="price" size="45" value="<%=dishes.getPrice()%>"></td>
            </tr>
            <tr>
                <td height="25" bgcolor="#66CCFF" align="right" width="27%">说&nbsp;&nbsp;&nbsp;
                    明：</td>
                <td height="25" bgcolor="#FFE3BB" width="70%">
                    <textarea rows="12" name="instructions" cols="43" ><%=dishes.getInstructions()%></textarea></td>
            </tr>
            <tr>
                <td height="25" bgcolor="#66CCFF" align="right" width="27%">菜品类别：</td>
                <td height="25" bgcolor="#FFE3BB" width="70%"></td>
            </tr>
            <tr><input type="hidden" name="id" />
                <td height="25" bgcolor="#66CCFF" align="center" colspan="2">
                    <input type="submit" value="修改"></td>
            </tr>
        </table>
    </form>
</div>
</body>
</body>
</html>
